package com.example.ntweixin.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.ntweixin.entity.WeixinEventPush;
import com.example.ntweixin.dao.WeixinEventPushDao;

@Service
public class WeixinEventPushService{

    @Resource
    private WeixinEventPushDao weixinEventPushDao;

    public int insert(WeixinEventPush pojo){
        return weixinEventPushDao.insert(pojo);
    }

    public int insertSelective(WeixinEventPush pojo){
        return weixinEventPushDao.insertSelective(pojo);
    }

    public int insertList(List<WeixinEventPush> pojos){
        return weixinEventPushDao.insertList(pojos);
    }

    public int update(WeixinEventPush pojo){
        return weixinEventPushDao.update(pojo);
    }
}
